// 编辑客户弹窗
.edit_customer_modal_form_content {
  .validate_fail {
    margin-bottom: 22px;
    transition: all 0.4s;
  }

  .form_item {
    margin-bottom: 12px;
    transition: all 0.4s;

    .select_item {
      width: 100%;
      max-width: none;
    }
  }

  .last_form_item {
    margin-bottom: 22px;
  }
}

:deep(.el-select__wrapper) {
  min-height: 28px;
  border-radius: 2px;
  font-size: 12px;
}

.app-container {
  height: 100%;
}

.btn_sc {
  text-align: end;
  // margin-bottom: 10px;

  .btn_save {
    width: 3.2vw;
  }

  .btn_cancel {
    width: 3.2vw;
  }
}

:deep(.el-select) {
  width: 100% !important;
  max-width: 300px;
}

.image-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--el-fill-color-light);
  color: var(--el-text-color-secondary);
  font-size: 30px;
}

.image-slot .el-icon {
  font-size: 30px;
}

.look-dialog {
  .look_type {
    height: 60vh;
    overflow-y: auto;
    padding: 12px;

    .look_item {
      margin-bottom: 24px;

      .look_name {
        padding-bottom: 8px;
        color: #000;
        font-size: 14px;
      }

      .look_img {
        margin-left: 22px;
        margin-top: 6px;
      }
    }
  }
}

.main {
  display: flex;
  background-color: #fff;
  flex: 1;
  height: 100%;

  :deep(.el-aside) {
    display: flex;
    flex-direction: column;
  }

  :deep(.el-card) {
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }

  :deep(.el-card__body) {
    padding: 0 !important;
  }

  .box-card {
    margin: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;

    // height: 100%;
    .card_user {
      display: flex;
      align-items: center;
      flex-direction: column;
      padding: 10px;
      padding-top: 20px;

      .img_user {
        width: 108px;
        height: 108px;
        border-radius: 10px;
      }

      .image-slot {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        background: #f5f7fa;
        color: #909399;
        font-size: 40px;
      }

      p.name {
        font-size: 14px;
        padding: 10px 0 5px;
      }

      p.phone {
        font-size: 12px;
        color: #999;
      }

      .ul_list {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 20px;

        .li_list {
          display: flex;
          align-items: center;

          &:first-child {
            margin-right: 30px;
          }

          .li_icon {
            background-color: #2684ff1f;
            color: #007cff;
            padding: 10px;
          }

          .li_right {
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            margin-left: 10px;

            .num {
              font-size: 14px;
              line-height: 30px;
            }

            .type {
              font-size: 12px;
              color: #999;
            }
          }
        }
      }
    }

    .header {
      padding: 10px;
      border-bottom: 1px solid #e5e5e5;

      h6 {
        font-size: 14px;
      }
    }

    .btn_edit {
      text-align: center;
      padding: 20px;

      .btn {
        padding: 0 20px;
        height: 32px;
        line-height: 30px;
        border-radius: 4px;
        border: none;
        font-weight: 500;
      }
    }

    .form_list {
      padding-right: 10px;

      :deep(.el-form-item__label) {
        font-size: 12px;
        color: #000;
      }

      :deep(.el-form-item__content) {
        font-size: 12px;
        color: #999;
      }
    }
  }

  .el-main {
    --el-main-padding: 0px;
    margin-left: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;

    .list_tabs {
      display: flex;
      flex-direction: column;
      flex: 1;
      padding: 0px 14px 14px 0;

      .tabs_height {
        display: flex;
        flex: 1;

        :deep(.el-tabs__content) {
          display: flex;
          flex-direction: column;
          flex: 1;

          .el-tab-pane {
            flex: 1;
            display: flex;
            flex-direction: column;

            .table {
              margin-top: 10px;
              flex: 1;
              position: relative;
            }
          }
        }
      }

      .header {
        margin-bottom: 10px;

        .mr5 {
          margin-right: 5px;
        }

        .btn {
          display: flex;
          align-items: center;
        }

        .search {
          .input-width {
            width: 150px;
          }

          .search_btn {
            width: 3.2vw;
            margin: 0;
            height: 28px;
            border-radius: 2px !important;
          }
        }
      }

      .cont-table {
        :deep(.el-form-item__label) {
          display: none;
        }
      }

      .footer {
        display: flex;
        justify-content: flex-end;
        margin-top: 10px;
      }

      .hover_hidden {
        display: none;
      }
    }

    .relevant_data {
      border: 1px solid #e4e7ed;
      padding: 10px;
      border-radius: 2px;
      box-shadow: 0 0 12px #0000001f;
      margin-top: 18px;

      .title_top {
        border-left: #007cff solid 3px;
        padding-left: 5px;
        font-size: 14px;
        margin-left: 10px;
        margin-top: 5px;
      }

      .ul_data {
        display: flex;
        align-items: center;
        margin-top: 18px;
        margin-bottom: 10px;
        margin-left: 10px;
        overflow-x: auto;

        .li_data {
          display: flex;
          align-items: center;
          justify-content: space-between;
          background-color: #f4f6fa;
          margin-right: 20px;
          border-radius: 2px;
          padding: 5px 10px;
          height: 50px;
          width: 100px;

          .icon_img {
            border-radius: 50%;
            background-color: #fff;
            padding: 10px;
          }

          .li_right {
            margin-left: 10px;
            flex: 1;
            font-size: 12px;
            width: 60px;

            p {
              line-height: 20px;
              white-space: nowrap;
            }

            .blue {
              color: #007cff;
              margin-right: 4px;
            }
          }
        }
      }
    }

    .upload_file {
      .tip_text {
        margin-bottom: 10px;
        font-size: 14px;
      }

      :deep(.el-upload-dragger) {
        padding: 0;
        padding-bottom: 10px;
      }

      .up_icon {
        color: #ccc;
        font-size: 24px;
      }

      .ul_list {
        display: flex;
        max-height: 230px;
        overflow-y: auto;
        justify-content: space-between;
        flex-wrap: wrap;

        .li_item {
          display: flex;
          justify-content: space-between;
          align-items: center;
          border: 1px solid #e4e7ed;
          padding: 4px 10px;
          width: calc(50% - 30px);
          color: #999;
          font-size: 12px;
          margin-top: 10px;

          .li_item_left {
            display: flex;
            align-items: center;

            .pic_name {
              margin-left: 10px;
              color: #007cff;
              margin-right: 5px;
            }
          }
        }
      }
    }
  }
}

.my-header {
  h3 {
    color: #000;
    font-size: 14px;
  }
}

:deep(.add-dialog) {
  .el-form-item {
    margin-bottom: 18px;

    .input-width {
      width: 300px;
    }
  }

  .el-dialog__body {
    padding: 12px 20px;
  }

  .btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 25px;
    margin-bottom: 10px;

    .btn_save {
      width: 60px;
    }

    .btn_cancel {
      width: 60px;

      &:hover {
        border: 1px solid #e5e5e5;
        color: #999;
        background-color: #e5e5e5;
      }
    }
  }
}

.btns {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 25px;
  margin-bottom: 10px;

  .btn_save {
    width: 60px;
  }

  .btn_cancel {
    width: 60px;

    &:hover {
      border: 1px solid #e5e5e5;
      color: #999;
      background-color: #e5e5e5;
    }
  }
}
